package zj.method;

import android.content.Context;
import android.os.Handler;

import zj.pojo.ZjObject;
import zj.thread.ZjDaoThread;
import zj.thread.ZjUIThread;

/**
 * Created by xq17 on 2017/5/29.
 */

public class ZjMethod {
    public static void ZjDaoMethod(Context context, ZjObject inObject,Class<?> outClass){
        ZjDaoThread zjDaoThread = new ZjDaoThread(context,inObject,outClass);
        zjDaoThread.start();
    }

    public static void ZjUIMethod(Handler handler, ZjObject inObject, Class<?> outClass,int what){
        ZjUIThread zjUIThread = new ZjUIThread(handler,inObject,outClass,what);
        zjUIThread.start();
    }
}
